package com.sxbbc.plat.controller.banks;

import com.sxbbc.bank.service.IBankService;
import com.sxbbc.common.core.entity.banks.Bank;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

@Controller
public class BankController {


    @Autowired
    private IBankService iBankService;

    /**
     * 订单退款明细-页面
     *
     * @return
     */
    @RequestMapping(value = "/bank/list")
    public ModelAndView list() {
        ModelAndView view = new ModelAndView("/banks/bank/index");
        List<Bank>  list=iBankService.list();
        return view;
    }


}
